#include "all.h"
#include <stdio.h>
void add_node(LinkList*list,int data){
    Node*new_node=(Node*)malloc(sizeof(Node));
    if(new_node==NULL){
    return;
}
    new_node->data=data;
    new_node->next=list->head;
    list->head=new_node;
if(list->size==0){
    list->tail=new_node;
}
    list->size++;
}
